<template>
  <div>
    <h1>son</h1>
    <GrandSon ref="grandson" />
  </div>
</template>

<script>
import GrandSon from "./GrandSon";
export default {
  name: "Son",
  props: [""],
  data() {
    return {
      msg: "这是子组件！！"
    };
  },

  components: {
    GrandSon
  },

  computed: {},

  beforeMount() {},

  mounted() {},

  methods: {
    sum(a, b) {
      console.log(a + b);
    }
  },

  watch: {}
};
</script>
<style lang='' scoped>
</style>